package cn.hls.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.hls.dao.CarAttachDao;
import cn.hls.entity.CarAttach;
import cn.hls.entity.vo.PageInfo;
import cn.hls.service.CarAttachService;

/**
 * @fileName: CarAttachDaoImpl.java
 * @package: cn.christ.dao.impl
 * @Description: 车辆基本信息业务逻辑接口实现类
 * @author: yinghui.zhang
 * @email: uuhui@163.com
 * @date: 2015-7-18
 */
@Service("carAttachService")
public class CarAttachServiceBean extends BaseServiceBean<CarAttach> implements
		CarAttachService {

	@Resource(name = "carAttachDao")
	private CarAttachDao dao;

	@Override
	public PageInfo<CarAttach> loadCarAttachInfo(CarAttach entity,
			PageInfo<CarAttach> page) throws Exception {
		return dao.loadCarAttachInfo(entity, page);
	}

	@Override
	public void delete(Object entityId) throws Exception {
		dao.delete(entityId);
	}

	@Override
	public boolean exists(CarAttach entity) throws Exception {
		return dao.exists(entity);
	}

	@Override
	public List<CarAttach> loadCarAttachList(CarAttach entity) throws Exception {
		return dao.loadCarAttachList(entity);
	}

}
